package com.config;

import jakarta.servlet.ServletContainerInitializer;
import jakarta.servlet.ServletContext;
import jakarta.servlet.ServletException;

import java.util.Set;

/**
 * @author chengyadong
 * @date 2023/9/23 15:10
 * @description
 */
public class ServletContextInitializerTest implements ServletContainerInitializer {
	@Override
	public void onStartup(Set<Class<?>> c, ServletContext ctx) throws ServletException {
		System.out.println("ServletContextInitializer被调用啦");
	}
}
